<?php
/**
 * 运营端配置
 */
namespace App\Http\Controllers\Assess;

use App\Http\Controllers\Backend;
use App\Services\Assess\OperateService;

class OperateController extends Backend
{

    /**
     * 构造函数
     * @author wuyu
     * @since 2023/4/21
     * LinkController constructor.
     */
    public function __construct()
    {
        parent::__construct();
        $this->service = new OperateService();
    }

    /**
     * @Notes:获取买家端配置
     * @Interface getBuyerConfig
     * @return array
     * @author: wuyu
     * @Time: 2023/4/25   14:12
     */
    public function getOperateConfig()
    {
        return $this->service->getOperateConfig();
    }

    /**
     * @Notes:获取买家端数据
     * @Interface getBuyerData
     * @return array
     * @author: wuyu
     * @Time: 2023/4/25   14:13
     */
    public function getBuyerData()
    {
        $data = $this->service->getBuyerData();
        return message("获取成功", true, $data);
    }

}

